function avatar(url) {
    if (url) {
        return api.file+url
    } else
        return 'http://admin.io/storage/images/avatar.jpeg';
}
export default avatar;
